Xbasic

SQL::ConnectionDeleteData Method

Syntax

Result_Flag as L = DeleteData(TableOwner as C, TableName as C, ResultSet as SQL::ResultSet [, EventScript as C])

Arguments

TableOwnerCharacter

The owner of the table.

TableNameCharacter

The name of the table containing the data.

ResultSetSQL::ResultSet

A SQL::ResultSet object that contains transactions to apply.

EventScriptCharacter

Default = "". An Xbasic Script implementing any of the following functions. In each case, the Context argument is the connection itself.

UpdateBegin()
UpdateProgress()
UpdateEnd()

Returns

Result_FlagLogical

TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

Description

Delete rows from a table in the currently connected database using a result set.

Discussion

The DeleteData() method deletes rows from a table in the currently connected database using a result set.

See Also